	 <script>
         (function(d, s, id) {
            var js, fjs = d.getElementsByTagName(s)[0];
            if (d.getElementById(id)) return;
            js = d.createElement(s); js.id = id;
            js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
            fjs.parentNode.insertBefore(js, fjs);
            }(document, 'script', 'facebook-jssdk'));
    </script>
	
	<script>
		!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];
		   if(!d.getElementById(id)){js=d.createElement(s);
		   js.id=id;js.src="//platform.twitter.com/widgets.js";
		   fjs.parentNode.insertBefore(js,fjs);
		   }}(document,"script","twitter-wjs");
    </script>
	
	<script>
		!function(d,s,id){
			var js,fjs=d.getElementsByTagName(s)[0];
			if(!d.getElementById(id)){js=d.createElement(s);
			js.id=id;js.src="//platform.twitter.com/widgets.js";
			fjs.parentNode.insertBefore(js,fjs);
			}}(document,"script","twitter-wjs");
    </script>
        
<header>

	<div id="top">
    	<div id="like">
        	<div id="fb-root"></div>
        	<div class="fb-like" data-href="http://cs.newpaltz.edu/~n02033720/2012WP/final/potcakedocumentary/index.php" 
            	data-send="true" data-layout="button_count" data-width="450" data-show-faces="false"></div>
        </div>
        <a href="https://twitter.com/PotcakeNation" class="twitter-follow-button" data-show-count="false">Follow @PotcakeNation</a>
        <a href="https://twitter.com/share" class="twitter-share-button" data-url="http://twitter.com/PotcakeNation"
         	    data-hashtags="potcakedocumentary">Tweet</a>    
    </div>
    
    <div id="top-right">
        <? if($fbUser): ?>
            <img src="http://graph.facebook.com/<?=$fbUser?>/picture" />
            <a href="<?=$facebook->getLogoutUrl()?>">Log Out</a>
        <? else: ?>
            <a href="<?=$facebook->getLoginUrl(array('scope' => 'read_stream, friends_likes'))?>">
            	Log in with Facebook
            </a>
        <? endif; ?>
    </div>
    
    <img src="media/potcakeheader2.png" />
    
</header>
